package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "sys_enum_config")
public class EnumConfig implements Serializable {

    private static final long serialVersionUID = -6418125188022782307L;
    @Id
    @Column(name = "code_nvarchar", columnDefinition = "varchar(255)")
    private String code;
    @Column(name = "name_nvarchar", columnDefinition = "varchar(255)")
    private String name;
    @Column(name = "e_type_tinyint", columnDefinition = "tinyint(1) comment '1职称,2问诊类型,3审方未通过原因'")
    private Integer type;
    @Column(name = "disable_bit", columnDefinition = "tinyint(1)")
    private Boolean disable;
}
